<div id="officialcources_journal" class="stn_journal">
	<div class="stn_journal_title"><?php echo $title; ?></div>
	<div class="stn_journal_tools">
		<?php foreach($tools as $tool) { ?>
			<?php echo $tool; ?>
		<?php } ?>	
	</div>
	<div class="stn_journal_pagination">
		<?php echo $pagination; ?>
	</div>
	<div class="stn_journal_body">
		<?php
			$data = array("name"=>"officialcources_activerecord",
							"id"=>"officialcources_activerecord",
							"value"=>$activerecord?$activerecord:'',
							"type"=>'hidden'
							); 
			echo form_input($data);
		?>
		<table border="0" cellpadding="4" cellspacing="0" >
			<tr>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($rid, array('url'=>'officialcources/srt/rid', 'update'=>'m_content')) ?>				
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($date_doc, array('url'=>'officialcources/srt/date_doc', 'update'=>'m_content')) ?>
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($currency_code, array('url'=>'officialcources/srt/currency_code', 'update'=>'m_content')) ?>
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($cource_value, array('url'=>'officialcources/srt/cource_value', 'update'=>'m_content')) ?>
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($cource_date, array('url'=>'officialcources/srt/cource_date', 'update'=>'m_content')) ?>
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote($archive, array('url'=>'officialcources/srt/archive', 'update'=>'officialcources_journal')) ?>
				</th>
				<th align="left" class="journal_header">
					<?php echo $this->ajax->link_to_remote( $modifyDT, array('url'=>'officialcources/srt/modifyDT', 'update'=>'officialcources_journal')) ?>
				</th>
			</tr>	
			<?php foreach($DS as $row) {?>
				<tr class="<?php echo ($row->rid == $activerecord)?'rowSel':''; ?>" 
					onclick="setActiveRecord('officialcources', '<?php echo $row->rid?>');" 
					id="officialcources_<?php echo $row->rid?>"
					ondblclick="setActiveRecord('officialcources', '<?php echo $row->rid?>');officialcources_edit();"
				>
					<td>
						<?php echo $row->rid; ?>&nbsp;
					</td>
					<td>
						<?php echo $row->date_doc; ?>&nbsp;
					</td>
					<td>
						<?php echo $row->currency_code; ?>&nbsp;
					</td>
					<td>
						<?php echo $row->cource_value; ?>&nbsp;
					</td>
					<td>
						<?php echo $row->cource_date; ?>&nbsp;
					</td>
					<td>
						<?php echo ($row->archive)?$yes:$no; ?>&nbsp;
					</td>
					<td>
						<?php echo $row->modifyDT; ?>&nbsp;
					</td>
				</tr>
			<?php } ?>
		</table>
	</div>
</div>